package org.openclinic.domain;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("2")
public class Attendant extends Customer {

	private static final long serialVersionUID = -912216774223038049L;

	private boolean active;
	
	private boolean manager;
	
	private String password;

	@Column(name = "active")
	public boolean isActive() {
		return this.active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	@Column(name = "manager")
	public boolean isManager() {
		return this.manager;
	}
	
	public void setManager(boolean manager) {
		this.manager = manager;
	}

	@Column(name = "password", length = 40)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
}
